package com.haikesi.api.excutionplan.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
public class ExcutionPlanProcessAddVO implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "执行计划账号")
    @NotNull(message = "执行计划账号不能为空")
    private String account;

    @ApiModelProperty(value = "平台执行计划ID")
    private String plan_id;

    @ApiModelProperty(value = "本地执行计划ID")
    private String plan_id_local;

    @ApiModelProperty(value = "进程名称")
    private String process_name;

    @ApiModelProperty(value = "序号")
    private String ser_order;

    @ApiModelProperty(value = "是否前置动作，其他进程的id")
    private String has_condition;

    @ApiModelProperty(value = "前置时间（秒）")
    private String pre_trigger_time;

    @ApiModelProperty(value = "延时时间（秒）")
    private String delay_trigger_time;

    @ApiModelProperty(value = "模式id字符串，用,隔开")
    private String mode_ids;

    @ApiModelProperty(value = "进程条件的中文名称描述集合")
    private String trigger_conditon_desc;

    @ApiModelProperty(value = "模式的中文描述集合")
    private String mode_desc;

    @ApiModelProperty(value = "进程条件集合")
    private String excutionConditionList;

    @ApiModelProperty(value = "进程时间集合")
    private String excutionTimeConditionList;

}